package thread;

class MyThread5 extends Thread {
    public void run() {
        System.out.println(this.getId() + "," + this.getName());
    }
}

public class ThreadDemo16 {
    public static void main(String[] args) {
        MyThread5 t1 = new MyThread5();
        MyThread5 t2 = new MyThread5();

        t1.start();
        t2.start();
    }
}
